{layout name="common/layout" /}
<div class="shop_xuan">
    <ul>
        <li>
            <span>分类：</span>
            {foreach $nav as $k=>$v}
            <a href="/shop/c/{$k}" class="{if $k==$nav_active}on{/if}">{$v}</a>
            {/foreach}
    </ul>
</div>

<div class="shop_shunxu">
    <ul>
        {foreach name="orderList" id="item"}
        <li>
            <a href="{$item.url}" class="{:$item.active?'on':''}">
                {if $item.active}
                <i class="fa fa-sort-{:$orderway=='desc'?'down':'up'}"></i>
                {/if}
                {$item.title}
            </a>
        </li>
        {/foreach}
    </ul>
</div>


<div class="shop_sku">
    <ul>
        {foreach name="goodsList" id="goods"}
        <li><a href="{$goods.url}">
            <span><img src="{$goods.image|cdnurl}" width="266" height="266"/></span>
            <h3>{$goods.title}</h3>
            <p>¥{$goods.price}</p><b>¥{$goods.marketprice}</b>
        </a></li>
        {/foreach}
    </ul>
    <div class="clearfix"></div>
    {if $goodsList->isEmpty()}
    <div class="text-center">该分类下暂未发布任何商品</div>
    {/if}

</div>
<div class="pager">
    <ul class="pagination">
        {$goodsList->render()}
    </ul>
</div>

